package com.supplychain.scm.core.rocketmq.annotation;

import java.lang.annotation.*;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName MessageHandler
 * @createTime 09:01:00 2024/01/06
 */
@Inherited
@Documented
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MessageHandler {

    /**
     * topic name
     * @return
     */
    String topic();

    /**
     * tag name
     * @return
     */
    String tag();
}
